ACFWF\Models\Store_Credits\Checkout A

Total Complexity 61
Dependencies 9
Dependents 1
Total lines 630
Lines of code 279
Logical lines of code 140
Comment lines 236
Methods 16
Properties 4

Methods 16

Method Rating Maintainability Complexity Lines of code
display_order_review_paid_in_store_credits()
S
49 7 29
_redeem_store_credits()
S
46 6 42
ajax_redeem_store_credits()
S
51 7 23
display_store_credits_checkout_redeem_form()
S
51 5 29
display_order_review_store_credits_discount_total()
S
54 5 20
apply_store_credit_discount()
S
58 5 15
recalculate_order_totals_after_checkout_complete()
S
62 5 11
display_store_credits_discount_row()
S
51 3 29
deduct_store_credits_discount_from_balance()
S
50 3 28
_is_allow_store_credits()
S
60 4 13
get_cart_total_before_store_credit_discounts()
S
67 3 7
run()
S
60 2 12
get_instance()
S
70 2 6
initialize()
S
70 2 6
__construct()
S
70 1 6
_get_store_credits_endpoint()
S
79 1 3